FROM python:3.10
LABEL authors="xiaohan"

WORKDIR = /usr/app/flask_project

COPY . .

RUN pip install -r requirements.txt -i https://mirrors.aliyun.com/pypi/simple

ENTRYPOINT ["flask", "--app", "app", "run",  "--host=0.0.0.0"]